SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[other](
	[ID] [int] NOT NULL,
	[DEFECT_TYPE_ID] [int] NOT NULL,
	[LOSS] [varchar](2000) NOT NULL,
	[REASON] [varchar](5000) NOT NULL,
	[DUTY] [varchar](5000) NULL,
	[TEAM] [varchar](500) NULL,
	[DEFECT_TIME] [datetime] NULL,
	[DEFECT_WRITE_TIME] [datetime] NULL,
	[DEFECT_WRITE_USER_ID] [int] NULL,
 CONSTRAINT [PK_other] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[deleted_other](
	[ID] [int] NOT NULL,
	[DEFECT_TYPE_ID] [int] NOT NULL,
	[LOSS] [varchar](2000) NOT NULL,
	[REASON] [varchar](5000) NOT NULL,
	[DUTY] [varchar](5000) NULL,
	[TEAM] [varchar](500) NULL,
	[DEFECT_TIME] [datetime] NULL,
	[DEFECT_WRITE_TIME] [datetime] NULL,
	[DEFECT_WRITE_USER_ID] [int] NULL,
 CONSTRAINT [PK_deleted_other] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO



